package com.chenfan.common.extension.model;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: weishili
 */
@Data
public abstract class BaseCreateEntity implements  Serializable {

    private static final long serialVersionUID = -6439638674674526955L;

    /**
     * 创建人id
     */
    @TableField(value="create_by")
    private Long createBy;

    /**
     * 创建人
     */
    @TableField(value="create_name")
    private String createName;

    /**
     * 创建时间
     */
    @TableField(value="create_date")
    private Date createDate;

    /**
     * 删除状态(0-正常，1-删除)
     */
    @TableField(value="is_delete")
    private Integer isDelete;
}